<div class="card">
    <div class="card-content">
        <h1 class="title is-5">Recent posts</h1>
        {{ range first 5 (where .Site.RegularPages "Section" "post").ByPublishDate.Reverse }}
            <p><a href="{{ .Permalink | absURL }}">{{ .Title }}</a></p>
            <div>
                {{ partial "svgs/ico_date.svg" }}
                <span class="article_right_date">{{ .Date.Format "2006-01-02" }}</span>
                {{ partial "svgs/ico_read.svg" }}
                <span id="{{ .Permalink | relURL }}" class="leancloud_visitors" data-flag-title="{{ .Title }}">
                    <i class="leancloud-visitors-count"></i>                     
                </span>
            </div>
        {{ end }}
    </div>
</div>
    